import React from 'react';
import { Carousel } from 'antd';

const MyCarousel = () => {
  const carouselList = [
    '','','','',''
  ]

  return (
    <Carousel className='my-carousel' autoplay
      fade>
      {carouselList.map((item, index) => (
        <div key={index} className='my-carousel-item'>
          {index}
        </div>
      ))}
    </Carousel>
  )
}

export default MyCarousel